package com.wuseguang.springcloud.service;

import com.wuseguang.springcloud.Filter.RequestParameterWrapper;
import com.wuseguang.springcloud.entity.Teacher;
import com.wuseguang.springcloud.util.Result;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 教师表/教职工表 服务类
 * </p>
 *
 * @author
 * @since 2019-12-23
 */
public interface TeacherService {

    Result findTeacherAll(String schoolId, String name, Integer id, Integer type,Integer roleId,Integer indexNo,Integer rows,String phone);

    Result deleteTeacherByid(String id);

    Result updateTeacherPassword(Integer id,String passWord);

    Result updateAllTeacherPassword(String schoolId,String passWord);

    Result teacherDetection(String schoolId, String teacher);

    Result batchAdditionTeacher(String schoolId, String teacher);

    Result addTeacher(String schoolId, Teacher teacher);

    Result updateTeacher(Teacher teacher);

    void exportTeacherTemplate(RequestParameterWrapper request, HttpServletResponse response);

    void exportTeacher(RequestParameterWrapper request, HttpServletResponse response);

    Result findShcoolTeacher(String schoolId);
}